package com.ruoyi.ylyx.mapper;

import java.util.List;

import com.ruoyi.ylyx.domain.YlyxRecruitpost;
import com.ruoyi.ylyx.domain.YlyxRecuittype;

/**
 * 招聘类别Mapper接口
 * 
 * @author yuexl
 * @date 2021-02-05
 */
public interface YlyxRecuittypeMapper 
{
    /**
     * 查询招聘类别
     * 
     * @param id 招聘类别ID
     * @return 招聘类别
     */
    public YlyxRecuittype selectYlyxRecuittypeById(String id);

    /**
     * 查询招聘类别列表
     * 
     * @param ylyxRecuittype 招聘类别
     * @return 招聘类别集合
     */
    public List<YlyxRecuittype> selectYlyxRecuittypeList(YlyxRecuittype ylyxRecuittype);

    /**
     * 新增招聘类别
     * 
     * @param ylyxRecuittype 招聘类别
     * @return 结果
     */
    public int insertYlyxRecuittype(YlyxRecuittype ylyxRecuittype);

    /**
     * 修改招聘类别
     * 
     * @param ylyxRecuittype 招聘类别
     * @return 结果
     */
    public int updateYlyxRecuittype(YlyxRecuittype ylyxRecuittype);

    /**
     * 删除招聘类别
     * 
     * @param id 招聘类别ID
     * @return 结果
     */
    public int deleteYlyxRecuittypeById(String id);

    /**
     * 批量删除招聘类别
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteYlyxRecuittypeByIds(String[] ids);
    /**
     * 根据招聘岗位ID查询招聘类型
     *
     * @param recruitID 岗位ID
     * @return 岗位列表
     */
    public YlyxRecruitpost selectTypeByRecruitId(String recruitID);
}
